package com.scu.hotelsystem.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RoomBill {
    private int id;
    private int guest_id_1;
    private int guest_id_2;
    private  int staff_id;
    private int room_id;
    private int last_days;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date add_time;
    private int is_paid;
    private double total;
    private int tag;

    public RoomBill() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGuest_id_1() {
        return guest_id_1;
    }

    public void setGuest_id_1(int guest_id_1) {
        this.guest_id_1 = guest_id_1;
    }

    public int getGuest_id_2() {
        return guest_id_2;
    }

    public void setGuest_id_2(int guest_id_2) {
        this.guest_id_2 = guest_id_2;
    }

    public int getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(int staff_id) {
        this.staff_id = staff_id;
    }

    public int getRoom_id() {
        return room_id;
    }

    public void setRoom_id(int room_id) {
        this.room_id = room_id;
    }

    public int getLast_days() {
        return last_days;
    }

    public void setLast_days(int last_days) {
        this.last_days = last_days;
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    public int getIs_paid() {
        return is_paid;
    }

    public void setIs_paid(int is_paid) {
        this.is_paid = is_paid;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public int getTag() {
        return tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }

    public RoomBill(int guest_id_1, int guest_id_2, int staff_id, int room_id, int last_days, Date add_time, int is_paid, double total, int tag) {
        this.guest_id_1 = guest_id_1;
        this.guest_id_2 = guest_id_2;
        this.staff_id = staff_id;
        this.room_id = room_id;
        this.last_days = last_days;
        this.add_time = add_time;
        this.is_paid = is_paid;
        this.total = total;
        this.tag = tag;
    }
}
